package cn.edu.xmist.supermarketsys.mapper;

import cn.edu.xmist.supermarketsys.entity.Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProductMapper extends BaseMapper<Product> {
    List<Product> selectPage(@Param("product") Product product, Integer page, Integer size);
}
